{layout name="common@common_layout/template" /}
<style type="text/css">
	table tr th,
	table tr td {
		text-align: center;
	}
</style>
<section class="panel panel-default">
	<header class="panel-heading">
		<h3 class="m-b-none">可恢复学生列表</h3>
	</header>
	<div class="row wrapper">
		<div class="col-sm-offset-9 col-sm-3">
			<form action="{:url('administration_module/index/show_restore')}" method="post">
				<div class="input-group">
					<input type="text" name="name" class="input-sm form-control" placeholder="请输入学生名字" value="{$name}">
					<span class="input-group-btn">
						<input type="submit" class="btn btn-sm btn-default" value="查询"/>
               		</span>
				</div>
			</form>
		</div>
	</div>
	<div class="table-responsive">
		<table class="table table-striped b-t b-light">
			<thead>
				<tr>
					<th class="" data-toggle="class" data-name="order_name" style="width:100px">姓名</th>
					<th>班级</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				{volist name="student_list" id="student" empty="暂时没有数据"}
				<tr data-id={$student.id} data-name={$student.name}>
					<td>{:highlight($student.name,$name)}</td>
					<td>{$student.class_id}</td>
					<td width="80px">
						<a style="margin-left: 5px;" class="btn btn-sm btn-primary btn-rounded student_restore">恢复</a>
					</td>
				</tr>
				{/volist}
			</tbody>
		</table>
	</div>
	<footer class="panel-footer">
		<div class="row">
			<div class="col-sm-offset-4 col-sm-4 text-center">
				<small class="text-muted inline m-t-sm m-b-sm">可恢复学生列表</small>
			</div>
			<div class="col-sm-4 text-right text-center-xs">
				{$student_list->render()}
			</div>
		</div>
	</footer>
</section>
<script src="/static/js/administration/administration.js" type="text/javascript" charset="utf-8"></script>
